﻿{template 'public/header'}

{template 'public/comhead'}

<link rel="stylesheet" type="text/css" href="../addons/zh_gjw/template/public/ygcss.css">

<ul class="nav nav-tabs">

    <span class="ygxian"></span>

    <div class="ygdangq">当前位置:</div>    

    <li><a href="{php echo $this->createWebUrl('dbcate')}">分类列表</a></li>
    <li class="active"><a href="javascript:void(0);">设置分类层级</a></li>

</ul>

  <div class="main">

    <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="invitative">

        <div class="panel panel-default ygdefault">

            <div class="panel-heading wyheader">

                抖宝管理&nbsp;>&nbsp;抖宝分类&nbsp;>&nbsp;设置分类层级

            </div>

            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">分类级别</label>
                    <div class="col-sm-9">
                        <label class="radio-inline">
                            <input type="radio" id="emailwy0" name="dbcate" value="0" {if $item['dbcate']==0 || empty($item['dbcate'])}checked{/if} />
                            <label for="emailwy0">无</label>
                        </label>
                        <label class="radio-inline">
                            <input type="radio" id="emailwy1" name="dbcate" value="1" {if $item['dbcate']==1 }checked{/if} />
                            <label for="emailwy1">一级</label>
                        </label>
                        <label class="radio-inline">
                            <input type="radio" id="emailwy2" name="dbcate" value="2" {if $item['dbcate']==2 }checked{/if} />
                            <label for="emailwy2">二级</label>
                        </label>
                        <label class="radio-inline">
                            <input type="radio" id="emailwy3" name="dbcate" value="3" {if $item['dbcate']==3 }checked{/if} />
                            <label for="emailwy3">三级</label>
                        </label>
                    </div>
                </div>
               
            </div>
        </div>
        <div class="form-group">
            <input type="submit" name="submit" value="保存设置" class="btn col-lg-3" style="color: white;background-color: #44ABF7;" />
            <input type="hidden" name="token" value="{$_W['token']}" />
            <input type="hidden" name="id" value="{$item['id']}"/>
        </div>
    </form>
</div>
<script type="text/javascript">
    $(function(){
        // $("#frame-14").addClass("in");
        $("#frame-1").show();
        $("#yframe-1").addClass("wyactive");
    })
</script>

